<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>目标导向型推荐规划器</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
    <div class="container">
        <header>
            <h1> 目标导向型推荐规划器</h1>
            <p>输入您的长期目标，让AI为您规划实现路径。</p>
        </header>

        <div class="form-container">
            <textarea id="goal-input" placeholder="例如：我想从零开始学习数据分析，然后找到一份相关工作。"></textarea>
            <div class="controls">
                <select id="domain-select">
                    <option value="data_analysis">学习数据分析</option>
                    <option value="outdoor_trip">规划户外旅行</option>
                </select>
                <button id="generate-btn">生成规划</button>
            </div>
        </div>

        <div id="loading-spinner" class="hidden">
            <div class="spinner"></div>
            <p>正在为您生成规划，请稍候...</p>
        </div>

        <div id="plan-container">
            </div>
    </div>

    <script src="{{ url_for('static', filename='js/script.js') }}"></script>
</body>
</html>
